   <div class="modal fade" id="CV_PDF">
     <div class="modal-dialog">
       <div class="modal-content">
         <div class="modal-header">
           <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title">Seleccione el curso</h4>
         </div>

         <div class="modal-body">
          <?php
           include('../Model/ModelConexion.php');

              $conexion = new Conexion();

              $consulta_carrera = $conexion->Consulta("
                SELECT codigo,nombre  
                FROM carreras 
                ORDER BY nombre
                ");
           ?>
 
           <form name="formcarreras" action="Verdetalles.php" method="POST">
            <div>
            <select name="carrera" id="carrera" onchange="from(document.formcarreras.carrera.value,'midiv','Filtro_Carrera.php')">
              <option value="0">Seleccione</option>
              <?php while($fila=$conexion->Arreglo($consulta_carrera)){ ?>
                <option value="<?php echo $fila['codigo']?>"><?php echo $fila['nombre']?></option>
              <?php }?>
                    
            </select> 
            </div>
              <div id="midiv">
      
              </div>
              <div id="midiv1">
                
              </div>
           </form>
                   
         </div>

         <div class="modal-footer">
           <button type="button" class="btn btn-default" data-dismiss="modal">Listo</button>
           
         </div>
       </div><!-- /.modal-content -->
     </div><!-- /.modal-dialog -->
   </div><!-- /.modal -->
            
              
                
                  
                
                
                
              
            
          

